


        $(document).ready(function(){

            var newsHref = window.location.href;
            for(var nn = 0;nn < $('.news nav.pc a').length;nn++){
                var thisHref = $('.news nav.pc a')[nn].getAttribute('href').split('.')[0];
                if(newsHref.indexOf(thisHref) >= 0){
                    $('.news nav.pc a:eq(' + nn +')').addClass('current');
                    $('.news nav.mobile a:eq(' + nn +')').addClass('current');
                    $('.news nav.mobile .present').text($('.news nav.mobile a:eq(' + nn +')').text());
                }
            }
            $('.news nav.mobile .contn .present').click(function(){
                if($(this).parent()[0].className.indexOf('clicked') >= 0){
                    $(this).parent().removeClass('clicked');
                    $('.news nav.mobile .contn .sonMenu').css('height','');
                }else{
                    $(this).parent().addClass('clicked');
                    var sonH = $('.news nav.mobile .contn .sonMenu .box')[0].offsetHeight;
                    $('.news nav.mobile .contn .sonMenu').height(sonH);
                }
            })
            $('.news nav.mobile .contn .sonMenu a').click(function(){
                $('.news nav.mobile .contn .present')[0].click();
            })
        })